import React, { Component } from 'react'
import LT from './components/LT'
import HJ from './components/HJ'
// 注意: withFar是一个函数,返回值才是真正的Far组件
import withFar from './Far'

const WithHJ = withFar(HJ)
const WithLT = withFar(LT)
export default class App extends Component {
  render() {
    return (
      <div>
        <h1>老陶抓海静案例</h1>
        <WithLT num={0}></WithLT>
        <WithHJ></WithHJ>
      </div>
    )
  }
}
